package org.news.entity;

public class news {
	
	private String id;
	private String title;
	private String context;
	private String time ;
	private String user;
	private String sort;
	
	public news() {
	
	}

	public news(String id, String title, String context, String time, String user,String sort) {
		
		this.id = id;
		this.title = title;
		this.context = context;
		this.time = time;
		this.user = user;
		this.sort=sort;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	@Override
	public String toString() {
		return "news [id=" + id + ", title=" + title + ", context=" + context + ", time=" + time + ", user=" + user
				+", sort="+sort + "]"+"\n";
	}
  
	
}
